\doxysubsection{Vector Inverse Clarke Transform }
\hypertarget{group__inv__clarke}{}\label{group__inv__clarke}\index{Vector Inverse Clarke Transform@{Vector Inverse Clarke Transform}}
\doxysubsubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\+\_\+\+\_\+\+STATIC\+\_\+\+FORCEINLINE void \mbox{\hyperlink{group__inv__clarke_ga1a73ce96f94b2124d02426690e587197}{arm\+\_\+inv\+\_\+clarke\+\_\+f32}} (float32\+\_\+t Ialpha, float32\+\_\+t Ibeta, float32\+\_\+t \texorpdfstring{$\ast$}{*}p\+Ia, float32\+\_\+t \texorpdfstring{$\ast$}{*}p\+Ib)
\begin{DoxyCompactList}\small\item\em Floating-\/point Inverse Clarke transform. \end{DoxyCompactList}\item 
\+\_\+\+\_\+\+STATIC\+\_\+\+FORCEINLINE void \mbox{\hyperlink{group__inv__clarke_ga3bab178431f22d13332a0dfae4390172}{arm\+\_\+inv\+\_\+clarke\+\_\+q31}} (q31\+\_\+t Ialpha, q31\+\_\+t Ibeta, q31\+\_\+t \texorpdfstring{$\ast$}{*}p\+Ia, q31\+\_\+t \texorpdfstring{$\ast$}{*}p\+Ib)
\begin{DoxyCompactList}\small\item\em Inverse Clarke transform for Q31 version. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsubsection{Detailed Description}
end of clarke group

Inverse Clarke transform converts the two-\/coordinate time invariant vector into instantaneous stator phases.

The function operates on a single sample of data and each call to the function returns the processed output. The library provides separate functions for Q31 and floating-\/point data types. \begin{DoxyParagraph}{Algorithm}
 where {\ttfamily p\+Ia} and {\ttfamily p\+Ib} are the instantaneous stator phases and {\ttfamily Ialpha} and {\ttfamily Ibeta} are the two coordinates of time invariant vector. 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Fixed-\/\+Point Behavior}
Care must be taken when using the Q31 version of the Clarke transform. In particular, the overflow and saturation behavior of the accumulator used must be considered. Refer to the function specific documentation below for usage guidelines.
\end{DoxyParagraph}
Inverse Clarke transform converts the two-\/coordinate time invariant vector into instantaneous stator phases.

The function operates on a single sample of data and each call to the function returns the processed output. The library provides separate functions for Q31 and floating-\/point data types. \begin{DoxyParagraph}{Algorithm}
 where {\ttfamily p\+Ia} and {\ttfamily p\+Ib} are the instantaneous stator phases and {\ttfamily Ialpha} and {\ttfamily Ibeta} are the two coordinates of time invariant vector. 
\end{DoxyParagraph}
\begin{DoxyParagraph}{Fixed-\/\+Point Behavior}
Care must be taken when using the Q31 version of the Clarke transform. In particular, the overflow and saturation behavior of the accumulator used must be considered. Refer to the function specific documentation below for usage guidelines.
\end{DoxyParagraph}


\label{doc-func-members}
\Hypertarget{group__inv__clarke_doc-func-members}
\doxysubsubsection{Function Documentation}
\Hypertarget{group__inv__clarke_ga1a73ce96f94b2124d02426690e587197}\index{Vector Inverse Clarke Transform@{Vector Inverse Clarke Transform}!arm\_inv\_clarke\_f32@{arm\_inv\_clarke\_f32}}
\index{arm\_inv\_clarke\_f32@{arm\_inv\_clarke\_f32}!Vector Inverse Clarke Transform@{Vector Inverse Clarke Transform}}
\doxysubsubsubsection{\texorpdfstring{arm\_inv\_clarke\_f32()}{arm\_inv\_clarke\_f32()}}
{\footnotesize\ttfamily \label{group__inv__clarke_ga1a73ce96f94b2124d02426690e587197} 
\+\_\+\+\_\+\+STATIC\+\_\+\+FORCEINLINE void arm\+\_\+inv\+\_\+clarke\+\_\+f32 (\begin{DoxyParamCaption}\item[{float32\+\_\+t}]{Ialpha}{, }\item[{float32\+\_\+t}]{Ibeta}{, }\item[{float32\+\_\+t \texorpdfstring{$\ast$}{*}}]{p\+Ia}{, }\item[{float32\+\_\+t \texorpdfstring{$\ast$}{*}}]{p\+Ib}{}\end{DoxyParamCaption})}



Floating-\/point Inverse Clarke transform. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{in}}  & {\em Ialpha} & input two-\/phase orthogonal vector axis alpha \\
\hline
\mbox{\texttt{in}}  & {\em Ibeta} & input two-\/phase orthogonal vector axis beta \\
\hline
\mbox{\texttt{out}}  & {\em p\+Ia} & points to output three-\/phase coordinate {\ttfamily a} \\
\hline
\mbox{\texttt{out}}  & {\em p\+Ib} & points to output three-\/phase coordinate {\ttfamily b} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
none 
\end{DoxyReturn}
\Hypertarget{group__inv__clarke_ga3bab178431f22d13332a0dfae4390172}\index{Vector Inverse Clarke Transform@{Vector Inverse Clarke Transform}!arm\_inv\_clarke\_q31@{arm\_inv\_clarke\_q31}}
\index{arm\_inv\_clarke\_q31@{arm\_inv\_clarke\_q31}!Vector Inverse Clarke Transform@{Vector Inverse Clarke Transform}}
\doxysubsubsubsection{\texorpdfstring{arm\_inv\_clarke\_q31()}{arm\_inv\_clarke\_q31()}}
{\footnotesize\ttfamily \label{group__inv__clarke_ga3bab178431f22d13332a0dfae4390172} 
\+\_\+\+\_\+\+STATIC\+\_\+\+FORCEINLINE void arm\+\_\+inv\+\_\+clarke\+\_\+q31 (\begin{DoxyParamCaption}\item[{q31\+\_\+t}]{Ialpha}{, }\item[{q31\+\_\+t}]{Ibeta}{, }\item[{q31\+\_\+t \texorpdfstring{$\ast$}{*}}]{p\+Ia}{, }\item[{q31\+\_\+t \texorpdfstring{$\ast$}{*}}]{p\+Ib}{}\end{DoxyParamCaption})}



Inverse Clarke transform for Q31 version. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{in}}  & {\em Ialpha} & input two-\/phase orthogonal vector axis alpha \\
\hline
\mbox{\texttt{in}}  & {\em Ibeta} & input two-\/phase orthogonal vector axis beta \\
\hline
\mbox{\texttt{out}}  & {\em p\+Ia} & points to output three-\/phase coordinate {\ttfamily a} \\
\hline
\mbox{\texttt{out}}  & {\em p\+Ib} & points to output three-\/phase coordinate {\ttfamily b} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
none
\end{DoxyReturn}
\begin{DoxyParagraph}{Scaling and Overflow Behavior}
The function is implemented using an internal 32-\/bit accumulator. The accumulator maintains 1.\+31 format by truncating lower 31 bits of the intermediate multiplication in 2.\+62 format. There is saturation on the subtraction, hence there is no risk of overflow. 
\end{DoxyParagraph}
